package blackeagle.ems.dal;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Keeps track of a table name. Only applicable to classes. Retained in runtime.
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface DataClass{
    /**
     * A <code>String</code> value representing the table name of the type.
     * @return <code>String</code> containing the table name.
     */
    String dataName();
}
